import http from "@/utils/request";

export default {
  /**
   *查询返矿列表
   */
  async findReturnoreList(params) {
    return http.get("/api/returnore/list", params);
  },

  /**
   * 查询被选择的熔剂
   */
  async listIsSelected(params) {
    return http.get("/api/returnore/listIsSelected", params);
  },

  /**
   *添加返矿
   */
  async addReturnore(params) {
    return http.post("/api/returnore/add", params);
  },

  /**
   *修改返矿
   */
  async updateReturnore(params) {
    return http.put("/api/returnore/update", params);
  },

  /**
   *删除返矿
   */
  async deleteReturnore(params) {
    return http.delete("/api/returnore/delete", params);
  },
};
